package project;

public class Simulation {
    public static void main(String[] args) {
        
        Computer computer1 = new Computer("戴尔","Intel Core i5", 8, 256);
        Computer computer2 = new Computer("联想","AMD  5", 16, 512);
        Computer computer3 = new Computer("华为","Intel Core i9", 32, 1024);

        
        Student student1 = new Student("张三", computer1);
        Student student2 = new Student("李四", computer2);
        Student student3 = new Student("王五", computer3);

       
        student1.showComputerConfig();
        student2.showComputerConfig();
        student3.showComputerConfig();
    }
}